﻿Public Class NhapXuatBL
    Dim nxDA As New NhapXuatDA

    Public Function InNhap(ByVal nx As NhapXuatDT)
        Return nxDA.InNhap(nx)
    End Function

    Public Function InUpXuat(ByVal nx As NhapXuatDT, ByVal flagIsUp As Boolean)
        Return nxDA.InUpXuat(nx, flagIsUp)
    End Function

    Public Function GetID(ByVal bang As String)
        Return nxDA.GetID(bang)
    End Function

    Public Function GetMa(ByVal bang As String, ByVal ngay As String, ByVal ngayNhaplieu As Date, ByVal hinhthuc As String)
        Return nxDA.GetMa(bang, ngay, ngayNhaplieu, hinhthuc)
    End Function

    Public Function getTongTien(ByVal maxuat As String)
        Return nxDA.getTongTien(maxuat)
    End Function
End Class
